package com.xayy.mgt.service;

import cn.kawins.base.result.CheckResult;
import cn.kawins.mybatis.BaseService;
import com.github.pagehelper.PageInfo;
import com.xayy.mgt.model.AnticipatoryFailure;
import com.xayy.mgt.model.vo.AnticipatoryFailurePageVo;

public interface AnticipatoryFailureService extends BaseService<AnticipatoryFailure> {
    PageInfo<AnticipatoryFailure> pageList(AnticipatoryFailurePageVo pageVo);

    CheckResult<Object> saveAnticipatoryFailure(AnticipatoryFailure anticipatoryFailure);

    CheckResult<Object> editAnticipatoryFailure(AnticipatoryFailure anticipatoryFailure);

    CheckResult<Object> deleteAnticipatoryFailure(Long faultId);


    CheckResult<Object> selectOneAnticipatoryDetail(Long id);
}
